<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>视觉差效果</title>
    <style>
        body {
            margin: 0;
            padding: 0;
        }
        .one {
            height: 800px;
            background-image: url(../html+css/images/04-1.webp);
            background-position: center;
            background-size: cover;
            background-attachment: fixed;
        }
        .two {
            height: 1000px;
            background-image: url(../html+css/images/04-2.avif);  
            background-position: center;
            background-size: cover;

        } 
    </style>
</head>
<body>
    <div class="one"></div>
    <div class="two"></div>
</body>
</html>
